[#escape x as (x)!?html]
  <a class="list-group-item list-group-item-action[#if settings='profile'] active[/#if]" href="${base}/user">基本设置</a>
  <a class="list-group-item list-group-item-action[#if settings='passwd'] active[/#if]" href="${base}/password-reset">修改密码</a>
  <a class="list-group-item list-group-item-action[#if settings='avatar'] active[/#if]" href="${base}/avatar">头像设置</a>
[#if config.grade>0]
  <a id="myLetterLink" class="list-group-item list-group-item-action[#if settings='member-letter'] active[/#if]" href="${base}/member-letter">我的信件</a>
[/#if]
[/#escape]
[#if config.grade>1]
<script>
$(function () {
    const token = sessionStorage.getItem("accessToken")
    const link = $("#myLetterLink").attr("href")
    $("#myLetterLink").attr("href",link+"?Authorization="+token)
});
</script>
[/#if]
